package com.cws.project.cws.clazz.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.cws.framework.aspectj.lang.annotation.Excel;
import com.cws.framework.web.domain.BaseEntity;

/**
 * 班级信息对象 cws_clazz
 *
 * @author xyl
 * @date 2021-12-20
 */
public class Clazz extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 班级id
     */
    private Long clazzId;

    /**
     * 班级名称
     */
    @Excel(name = "班级名称")
    private String clazzName;

    /**
     * 班级名称
     */
    @Excel(name = "辅导员名称")
    private String userName;

    /**
     * 关联用户id
     */
    private Long userId;

    /** 年级 */
    @Excel(name = "年级")
    private Integer clazzGrade;

    /** 学院 */
    @Excel(name = "学院")
    private String clazzCollege;

    /** 专业 */
    @Excel(name = "专业")
    private String clazzMajor;

    /**
     * 班级名称
     */
    @Excel(name = "人数")
    private Integer studentCount;

    public void setClazzId(Long clazzId) {
        this.clazzId = clazzId;
    }

    public Long getClazzId() {
        return clazzId;
    }

    public void setClazzName(String clazzName) {
        this.clazzName = clazzName;
    }

    public String getClazzName() {
        return clazzName;
    }

    public Integer getStudentCount() {
        return studentCount;
    }

    public void setStudentCount(Integer studentCount) {
        this.studentCount = studentCount;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public Integer getClazzGrade() {
        return clazzGrade;
    }

    public void setClazzGrade(Integer clazzGrade) {
        this.clazzGrade = clazzGrade;
    }

    public String getClazzCollege() {
        return clazzCollege;
    }

    public void setClazzCollege(String clazzCollege) {
        this.clazzCollege = clazzCollege;
    }

    public String getClazzMajor() {
        return clazzMajor;
    }

    public void setClazzMajor(String clazzMajor) {
        this.clazzMajor = clazzMajor;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("clazzId", getClazzId())
                .append("clazzName", getClazzName())
                .append("createTime", getCreateTime())
                .append("createBy", getCreateBy())
                .append("updateTime", getUpdateTime())
                .append("updateBy", getUpdateBy())
                .append("remark", getRemark())
                .append("clazzGrade", getClazzGrade())
                .append("clazzCollege", getClazzCollege())
                .append("clazzMajor", getClazzMajor())
                .toString();
    }
}
